package com.tg.dao;

import com.tg.pojo.entity.TgOrder;
import com.tg.pojo.entity.TgOrderVo;
import org.springframework.data.jpa.repository.JpaRepository;


import java.util.List;

/**
 * @Author 王兴
 * @Description
 * @Date 2022/3/28
 */

public interface OrderRepository extends JpaRepository<TgOrder,String> {
    List<TgOrderVo> findByOrderStatus( Integer status);
    TgOrder findByOrderId(String orderid) ;
}
